package cn.com.api.entity.base;

import java.io.Serializable;
import java.util.Date;

import cn.com.api.util.*;

// U_label Entity

/// <summary>
/// Datetime: 2016/3/8 0:16:25		
/// Genegrated automatically. Don't write your logic code here.	
/// the entity of table U_label.
/// </summary>

public class U_labelBase implements Serializable {

	private static final long serialVersionUID = 00L;

	// Genegrated Automatically.

	// 编号 Id
	private Integer id = 0;

	// 标签名称 Label_name
	private String label_name = "";

	// 排序 Sort
	private Integer sort = 0;

	// 父标签编号 Parent_id
	private Integer parent_id = 0;

	// 分类:0-文章标签;1-兴趣标签;2-订阅标签;3-行业职位标签;4-圈子标签;
	// 5-企业主的行业类别;6-自媒体的属性;7-自媒体领域;8-专业领域
	private Integer type = 0;

	// 创建时间 Create_time
	private String create_time = DateUtil.nowTimeToString();

	private String picture = "";

	public U_labelBase() {
		super();
	}

	public U_labelBase(Integer id, String label_name, Integer sort, Integer parent_id, Integer type, String create_time,
			String picture) {
		this.id = id;
		this.label_name = label_name;
		this.sort = sort;
		this.create_time = create_time;
		this.parent_id = parent_id;
		this.type = type;
		this.picture = picture;
	}

	// type
	public Integer getType() {
		return this.type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	// Id
	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	// Label_name
	public String getLabel_name() {
		return this.label_name;
	}

	public void setLabel_name(String label_name) {
		this.label_name = label_name;
	}

	// Sort
	public Integer getSort() {
		return this.sort;
	}

	public void setSort(Integer sort) {
		this.sort = sort;
	}

	// Parent_id

	// Create_time
	public String getCreate_time() {
		return this.create_time;
	}

	public Integer getParent_id() {
		return parent_id;
	}

	public void setParent_id(Integer parent_id) {
		this.parent_id = parent_id;
	}

	public void setCreate_time(String create_time) {
		this.create_time = create_time;
	}

	public String getPicture() {
		return this.picture;
	}

	public void setPicture(String picture) {
		this.picture = picture;
	}
}
